import React, {Component} from "react";
import ReSizeComponent from "./ReSizeComponent";

export default class FirstComponentEx extends ReSizeComponent {

  componentDidMount() {
    super.componentDidMount();
  }

  render() {
    return (
        <div className="" style={{fontSize: this.state.innerWidth / 1000 * 32}}>
          第一个组件（通过继承）
        </div>
    );
  }
}
